<style tyle="text/css">
  .modal-lg {
      width: 50%;
  }
  .red-font {
    color: #f00
  }
</style>
<div class="modal-header">
<h4 class="modal-title">设置公示时间</h4>
</div>
<div class="modal-body">
  <form name="form" class="form-horizontal">
    <div class="form-group">
      <div class="col-lg-4 control-label">开始时间：</div>
      <div class="col-lg-4">
        <div class="pull-left input-group" ng-click="dateOpen($event, formData.start_time)">
          <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-required="true" 
           ng-model="formData.start_time.label" is-open="formData.start_time.opened"
           readonly close-text="关闭" current-text="今天" clear-text="清除"/>
          <span class="input-group-btn">
            <button type="button" class="btn btn-default">
              <i class="glyphicon glyphicon-calendar"></i>
            </button>
          </span>
        </div>
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">结束时间：</div>
      <div class="col-lg-4">
        <div class="pull-left input-group" ng-click="dateOpen($event, formData.end_time)">
          <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-required="true" 
            ng-model="formData.end_time.label" is-open="formData.end_time.opened"
            readonly close-text="关闭" current-text="今天" clear-text="清除"/>
           <span class="input-group-btn">
          <span class="input-group-btn">
            <button type="button" class="btn btn-default">
              <i class="glyphicon glyphicon-calendar"></i>
            </button>
          </span>
        </div>
      </div>
    </div>
  </form>
      
</div>
<div class="modal-footer">
  <button class="btn btn-success" type="button" ng-click="ok()">确认</button>
  <button class="btn btn-danger" type="button" ng-click="close()">取消</button>
</div>